<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>PDF在线预览</title>
    <style>
        html,
        body {
            height: 100%;
            margin: 0;
            padding: 0;
            overflow: hidden;
        }
    </style>
</head>

<body>
    <iframe src="/assets/lib/pdfjs/web/viewer.html?file=#(pdfPath)" frameborder="0" width="100%" height="100%"></iframe>
    <script src="/assets/lib/pdfjs/build/pdf.js"></script>
</body>

</html>